package cn.ahaoweb.drule.core.constant;

import org.kie.api.io.ResourceType;

/**
 * @Name: RuleType
 * @Description:
 * @Author: wangzhonghao
 * @Date: 2025/2/12 16:17
 */
public enum RuleType {

    RULE_BLOCK("规则块", ResourceType.DRL);

    private String desc;

    private ResourceType type;

    RuleType(String desc, ResourceType type) {
        this.desc = desc;
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public ResourceType getType() {
        return type;
    }

}
